

const {DirList, sequelize} = require('../models/dirlist');


async function getDirList(params) {

  // await sequelize.sync({ force: true }); 
  await sequelize.sync({ alter: true }); 
  let alldirlist = await DirList.findAll();
  return alldirlist
}

exports.getDirList = getDirList